<?php
/**
 * Available variables
  [0] => field_pro_bath_value
  [1] => field_pro_beds_value
  [2] => field_pro_availability_value
  [3] => field_pro_availability_value2
  [4] => field_pro_island_nid
  [5] => field_pro_address_value
  [6] => field_pro_sleep_value
  [7] => field_pro_air_con_value
  [8] => field_pro_beach_value
  [9] => field_pro_child_value
  [10] => field_pro_dishwash_value
  [11] => field_pro_handicap_value
  [12] => field_pro_intnet_value
  [13] => field_pro_jacuzzi_value
  [14] => field_pro_laundry_value
  [15] => field_pro_non_smokers_value
  [16] => field_pro_ocean_value
  [17] => field_pro_pool_value
  [18] => field_pro_sleep_value_1
  [19] => field_pro_smokers_value
  [20] => tid
  [21] => field_pro_rates_value
  [22] => field_pro_rate_christmas_value
  [23] => field_pro_rate_high_value
  [24] => field_pro_rate_low_value
  [25] => submit
  [26] => form_build_id
  [27] => form_token
  [28] => form_id
 */
?>
<div class="advanced-search">
  <div class="bloc-quick-search">
    <h2 id="icon" class="quick"><?php print t('Advanced search'); ?></h2>
    <ul class="property clearfix">
      <li>
        <label><?php print t('Islands'); ?></label>
        <?php print $elements['field_pro_island_nid']; ?>
      </li>
      <li>
        <label><?php print t('Property type'); ?></label>
        <?php print $elements['tid']; ?>
      </li>
      <li>
        <label><?php print t('Bathroom'); ?></label>
        <?php print $elements['field_pro_bath_value']; ?>
      </li>
      <li>
        <label><?php print t('Beds'); ?></label>
        <?php print $elements['field_pro_beds_value']; ?>
      </li>
      <li>
        <label><?php print t('Sleeps'); ?></label>
        <?php print $elements['field_pro_sleep_value']; ?>
      </li>
    </ul>
    <ul class="property price-group">
      <li class="label"><?php print t('Price filtering'); ?></li>
      <li>
        <label><?php print t('Interval'); ?></label>
        <select id="pinterval">
          <option value="night"><?php print t('Nightly'); ?></option>
          <option value="week"><?php print t('Weekly'); ?></option>
          <option value="month"><?php print t('Monthly'); ?></option>
        </select>
      </li>
      <li>
        <label><?php print t('Season'); ?></label>
        <select id="pseason">
          <option value="night"><?php print t('Low season'); ?></option>
          <option value="week"><?php print t('High season'); ?></option>
          <option value="month"><?php print t('Christmas'); ?></option>
        </select>
      </li>
      <li class="last">
        <label><?php print t('Price (less than or equal to)'); ?></label>
        <?php print $elements['field_pro_rates_value']; ?>
      </li>
    </ul>
    <ul class="property clearfix">
      <li class="checkbox clearfix">
        <input type="checkbox" class="dummy">
        <label for="f3"><?php print t('Air Conditioning'); ?></label>
        <div class="iamit hide">
          <?php print $elements['field_pro_air_con_value']; ?>
        </div>
      </li>
      
      <li class="checkbox clearfix">
        <input type="checkbox" class="dummy">
        <label for="f3"><?php print t('Beachfront'); ?></label>
        <div class="iamit hide">
          <?php print $elements['field_pro_beach_value']; ?>
        </div>
      </li>
      <li class="checkbox clearfix">
        <input type="checkbox" class="dummy">
        <label for="f3"><?php print t('Internet Access/WIFI'); ?></label>
        <div class="iamit hide">
          <?php print $elements['field_pro_intnet_value']; ?>
        </div>
      </li>
      <li class="checkbox clearfix">
        <input type="checkbox" class="dummy">
        <label for="f3"><?php print t('Dishwasher'); ?></label>
        <div class="iamit hide">
          <?php print $elements['field_pro_dishwash_value']; ?>
        </div>
      </li>
      <li class="checkbox clearfix">
        <input type="checkbox" class="dummy">
        <label for="f3"><?php print t('Jacuzzi'); ?></label>
        <div class="iamit hide">
          <?php print $elements['field_pro_jacuzzi_value']; ?>
        </div>
      </li>
      <li class="checkbox clearfix">
        <input type="checkbox" class="dummy">
        <label for="f3"><?php print t('Pool'); ?></label>
        <div class="iamit hide">
          <?php print $elements['field_pro_pool_value']; ?>
        </div>
      </li>
<!--    </ul>
    <ul class="property clearfix">
-->      <li class="checkbox clearfix">
        <input type="checkbox" class="dummy">
        <label for="f3"><?php print t('Ocean view'); ?></label>
        <div class="iamit hide">
          <?php print $elements['field_pro_ocean_value']; ?>
        </div>
      </li>
      <li class="checkbox clearfix">
        <input type="checkbox" class="dummy">
        <label for="f3"><?php print t('Laundry facilities'); ?></label>
        <div class="iamit hide">
          <?php print $elements['field_pro_laundry_value']; ?>
        </div>
      </li>
      <li class="checkbox clearfix">
        <input type="checkbox" class="dummy">
        <label for="f3"><?php print t('Smokers'); ?></label>
        <div class="iamit hide">
          <?php print $elements['field_pro_smokers_value']; ?>
        </div>
      </li>
      <li class="checkbox clearfix">
        <input type="checkbox" class="dummy">
        <label for="f3"><?php print t('Non-smokers'); ?></label>
        <div class="iamit hide">
          <?php print $elements['field_pro_non_smokers_value']; ?>
        </div>
      </li>
      <li class="checkbox clearfix">
        <input type="checkbox" class="dummy">
        <label for="f3"><?php print t('Child proof'); ?></label>
        <div class="iamit hide">
          <?php print $elements['field_pro_child_value']; ?>
        </div>
      </li>
      <li class="checkbox clearfix">
        <input type="checkbox" class="dummy">
        <label for="f3"><?php print t('Child proof'); ?></label>
        <div class="iamit hide">
          <?php print $elements['field_pro_handicap_value']; ?>
        </div>
      </li>
    </ul>
    <div class="extras clearfix">
      <ul class="advanced-button clearfix">
        <li>
          <?php print $elements['submit']; ?>
        </li>
        <li>
          <?php print l(t('All properties'), 'all-properties'); ?>
        </li>
      </ul>
    </div>
  </div>
</div>

<div style="display:none;">
<?php
print $elements['field_pro_rate_low_value'];
print $elements['field_pro_rate_high_value'];
print $elements['field_pro_rate_christmas_value'];

  print $elements['form_build_id'];
  print $elements['form_id'];
  print $elements['form_token'];
?>
</div>